<?php
require_once 'vendor/autoload.php';

//$clent = new \MongoDB\Client('mongodb://super:123456@localhost/admin?authSource=admin');
//
//$collection = $clent->admin->tian;
//
//
//$d=$collection->find(['x'=>2]);
//
//foreach ($d as $entry) {
//    var_dump($entry);
//}
//
//die();

$result=\Mq\model\TestTian::getInstance()->getInfoBy('100');


foreach ($result as $item){
    var_dump($item);die();
}
